package _01_排序.tools;

public class Student implements Comparable<Student>{
    public int scope;
    public int age;

    public Student(int scope, int age) {
        this.scope = scope;
        this.age = age;
    }

    @Override
    public int compareTo(Student s) {
        return age - s.age;
    }
}
